arvid-demon / PornoLab.net | Clean Layout [de-bloated]

// ==UserScript==
// @name              PornoLab.net | Clean Layout [de-bloated]
// @name:sv           PornoLab.net | Ren Layout [avskalad]
// @name:ru           PornoLab.net | чистый макет | [раздетый]
// @namespace         pornolabs-compact
// @version           1.1.0
// @description       a cleaner, more structured, ad-free layout
// @description:sv    en renare, mer strukturerad och reklamfri layout
// @description:ru    более чистый, более структурированный макет без рекламы
// @author            7KT-SWE
// @license MIT
// @icon              data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4BAMAAABaqCYtAAAAIVBMVEXS0tI0VKTcIwEAAAAY4R0xMTGurq4MFCcrRog0CAC2HQFJc9qRAAABEklEQVQ4y92TsW6DMBCGkaqyWx3aOU/Q9OyazvgBkCwxs/AAEUtW1CF7H6FP2v8/kwo7ykqi/NLhH386n82Z6jYyK53ndtBWkNoKVovuAY5CuWFEVCeRYx1F1QMutouIehLxz5LkACVQ7bsgRrzIkw0qyeFntKH1V6Bj4nENWdMG6QCFiTNq0mvNUb0b8NBEU8cEez3btw1wmNBEnJP+Y/kIE+BsMKGJBYT1Bk+obQr4BtucoS/gqwQ5ELKoDFUGX1hSoXBnOeRmjdHKCJfD6R82zB4yyJQE9xPXLWHDgV3huiXcL7DmutdgFW0B0f1D6k7HLrjkfxI8iZ8x6B1CR3r1X7+Xt2/1C9453K30iHBz/QF7T5H1u4vU3QAAAABJRU5ErkJggg==
// @homepageURL       https://7kt.se/
// @contributionURL   https://www.paypal.com/donate/?hosted_button_id=2EJR4DLTR4Y7Q
// @supportURL        https://openuserjs.org/scripts/arvid-demon/PornoLab.net_Clean_Layout_[de-bloated]/issues
// @include           *://pornolab.net/*
// @grant GM_addStyle
// @run-at document-end
// @compatible Chrome >=55 + Tampermonkey + Violentmonkey
// @compatible Firefox >=56 + Tampermonkey + Violentmonkey
// @compatible Opera + Tampermonkey + Violentmonkey
// @compatible Edge + Tampermonkey + Violentmonkey
// ==/UserScript==
(function () {
  let css = "";
  if (location.hostname === "pornolab.net" || location.hostname.endsWith("pornolab.net")) {
    css += `
    .site-logo {
        width: auto;
        height: 92px;
    }
    #main-nav {
        padding: 0px 10px;
    }
    .freeleech-icon {
        bottom: 139px;
        top: 46px;
        left: 233px;
        color: #1c66d7;
        font-size: 22px;
    }
    #pl-speedbar {
        display: none !important;
    }
    .bypass-alert {
        display: none;
    }
    .sb2-block {
        margin: 0px 0px 10px 5px;
        margin-top: 0px;
        padding: 0px 5px 0 0;
    }
    #cookieNotice {
        display: none;
    }
    #vsxshop-2 {
        display: none !important;
    }
    #bn-toy-1 {
        display: none !important;
    }
    .maintitle, .pagetitle {
        width: 80%;
        word-break: break-word;
    }
    .topmenu {
        position: absolute;
        justify-content: right;
        float: right;
        right: 0%;
        top: -4px;
        background: transparent;
        border-color: transparent;
        width: min-content;
    }
    #quick-search {
        position: relative;
        top: 35px;
        right: 0px;
        padding: 4px;
        z-index: 1;
    }
    h3 {
        letter-spacing: 0px;
    }
    .cat_title {
        letter-spacing: 0px;
    }
    #main_content_wrap > table > tbody > tr:nth-of-type(1) > td:nth-of-type(3),
    #latest_news > table > tbody > tr:nth-of-type(1) > td:nth-of-type(3) {
        display: none;
    }
    #adriver-240x120 {
        display: none;
    }
    .topmenu td {
        position: relative;
        top: 0px;
        background: transparent;
    }
    #body_container {
        padding: 0 0 25px;
    }
    #page_footer {
        display: none;
    }
    .bottom_info {
        padding-bottom: 10px;
    }
    iframe {
        display: none !important
    }
    #fs-sel-cat {
        margin-top: -3px;
    }
    textarea:focus, input:focus {
        outline: none;
    }
    .splk {
        display: none;
    }
    #vgfgesfsfsder34 {
        display: none;
    }
    .splk3 {
	      display: none;
    }
  }`;
  }
  if (typeof GM_addStyle !== "undefined") {
    GM_addStyle(css);
  }
  else {
    let styleNode = document.createElement("style");
    styleNode.appendChild(document.createTextNode(css));
    (document.querySelector("head") || document.documentElement).appendChild(styleNode);
  }
})();